Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.search.ui.actions--filters

This contribution is part of XML component org.nuxeo.search.ui.actions inside nuxeo-search-ui-6.0.jar

Extension Point

Extension point filters of component ActionService.

Contributed Items

  • <filter append="true" id="rights">
          <rule grant="true">
            <facet>DefaultSearch</facet>
          </rule>
        </filter>
  • <filter id="denyForDefaultSearch">
          <rule grant="false">
            <facet>DefaultSearch</facet>
          </rule>
        </filter>
  • <filter id="isSearchEnabled">
          <rule grant="true">
            <condition>#{userServicesContext.searchEnabled}</condition>
          </rule>
        </filter>
  • <filter id="nxqlSearchSelected">
          <rule grant="true">
            <condition>#{searchUIActions.isNxqlSearchSelected()}</condition>
          </rule>
        </filter>
  • <filter id="notNxqlSearchSelected">
          <rule grant="false">
            <condition>#{searchUIActions.isNxqlSearchSelected()}</condition>
          </rule>
        </filter>

XML Source

<extension point="filters" target="org.nuxeo.ecm.platform.actions.ActionService">

    <filter append="true" id="rights">
      <rule grant="true">
        <facet>DefaultSearch</facet>
      </rule>
    </filter>

    <filter id="denyForDefaultSearch">
      <rule grant="false">
        <facet>DefaultSearch</facet>
      </rule>
    </filter>

    <filter id="isSearchEnabled">
      <rule grant="true">
        <condition>#{userServicesContext.searchEnabled}</condition>
      </rule>
    </filter>

    <filter id="nxqlSearchSelected">
      <rule grant="true">
        <condition>#{searchUIActions.isNxqlSearchSelected()}</condition>
      </rule>
    </filter>

    <filter id="notNxqlSearchSelected">
      <rule grant="false">
        <condition>#{searchUIActions.isNxqlSearchSelected()}</condition>
      </rule>
    </filter>

  </extension>